package com.rran.study.designpattern.behavioral.chain.chain;

/**
 * @author yy
 * @Type AttackPlaceDChain.java
 * @Desc 进攻D点
 * @date 2020/7/20 14:12
 */
public class AttackPlaceDChain extends AbstractAttackChain {

    @Override
    public void attack() {
        System.out.println("进攻D点成功");
        if(this.nextChain != null){
            this.nextChain.handle();
        }
    }

}
